Welcome![Sign In][Sign Up]
Location:
Search - thread socket

Search list

[Internet-NetworkNetLibrary

Description: 网络socket,IO,线程池,同步,日志等等, 利用面向对象以及范性特性,为在VC下开发网络应用程序打下坚实的底层基础。-network socket, IO, thread pool, synchronization, log, etc., and the use of object-oriented Fan sexual characteristics, for the VC and development of network applications and lay a solid basis for the bottom.
Platform: | Size: 141547 | Author: 詹皇源 | Hits:

[Windows Developsf_200562516252

Description: 一个线程驰的类, 下面的是基本的使用方法 struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //这里可以对连接的session进行自己的操作,例如给id找一个唯一的值 SetIoCompletionPort(socket, s) // 使连接socket与一个自定义结构体关联 } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // 这里只是简单的把收到的消息返回给客户端 ... } void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) // 开始监听网络端口,等待客户端连接 ... }-A class for thread pool,basic usage below: struct TSession { SOCKET socket int id } class myIocp:public CIOCP { public: void OnRead(void * p, char * buf, int len) void OnAccept(SOCKET socket) void OnClose(void * p) } void myIocp::OnAccept(SOCKET socket) { TSession *s = new TSession s->socket = socket //here you can do something about connection session,such as find a unique id. SetIoCompletionPort(socket, s) // make connection socket associate with a custom structure } void myIocp::OnRead(void * p, char * buf, int len) { TSession *s = (TSession *)p send(s->socket, buf, len, 0) // return received message to client void myIocp::OnClose(void * p) { delete p } myIoncp iocp main() { ... iocp.listen(4311) //start listenning net port,wait for client connect.
Platform: | Size: 2701 | Author: boxu | Hits:

[WinSock-NDISMTServerSrc

Description: 一个多线程实现的TCP服务端 listen, 在accept一个请求后,再启动一个线程来处理对应的socket-a multithreaded achieving TCP server listen, accept a request and then start a thread to handle the corresponding socket
Platform: | Size: 6621 | Author: 无形 | Hits:

[Internet-NetworkAddison Wesley - The.ACE.Programmers.Guide

Description: ACE程序员指南,ACE(自适应的网络编程环境),用C++类来封装Unix的Socket库,进程库,线程库-ACE Programmer's Guide, ACE (Adaptive Network Programming Environment), C categories Packaging Unix socket library for the process, Thread Library
Platform: | Size: 877504 | Author: 吴江 | Hits:

[assembly languageIoSocket_Sample

Description: 一个采用汇编线程池实现的Socket完成端口编程例程。-a compilation Thread Pool used to achieve the complete port Socket programming routines.
Platform: | Size: 7142 | Author: 钱海兵 | Hits:

[TCP/IP stackAsyncSSLClient

Description: 配合异步socket使用SSL的例子。异步Socket可以使用很少的线程(最少只需要一个线程)就能管理大量的连接-with asynchronous socket using SSL example. Asynchronous Socket can use a few threads (at least only one thread) will be able to manage a large number of connections
Platform: | Size: 24998 | Author: xyzuvw | Hits:

[WinSock-NDISBTDemo

Description: delphi实现的bt下载器示例程序,带全部源码和BT协议 包中文件说明: BTDemo.dpr, BTDemoF.pas, BTDemoF.dfm -- 一个简单的bt下载器,支持多个.torrent文件同时下载 btutils.pas -- 核心bt组件 DCP*.pas -- SHA算法源码(复制自DEC组件包) InetUtils.pas -- 提供Internet下载的函数库 SimpleSocks.pas -- socket组件(TCP) SortLists.pas -- 排序的List组件 ThreadTimer.pas -- 定时器与线程池 DelayLists.pas -- 一个延时5秒再释放Object的队列 FastShareMem.pas, MemPools.pas, ShareGlobals.inc -- 由ThreadTimer内部使用 Bit Torrent Specification.htm -- BT协议文档-realized bt download procedures for example, with all source code and BT agreement package documents : BTDemo.dpr, BTDemoF.pas. BTDemoF.dfm -- a simple bt downloader, supports multiple. torrent download documents btutils.pas -- the core components bt DCP *. pas -- SHA algorithm source code (copied from the DEC kits) InetUtils.pas -- providing Internet download library SimpleSocks.pas -- socket Group pieces (TCP) SortLists.pas -- Ranking List components ThreadTime r.pas -- and the timer thread pool DelayLists.pas -- a delay the release of another five seconds O return of the queue FastShareMem.pas, MemPools.pas. ShareGlobals.inc -- ThreadTimer internal use by Tor Bit rent Specification.htm -- BT agreement document
Platform: | Size: 58245 | Author: vvyang | Hits:

[Ftp ServerFTPsever_c++.net

Description: 利用Socket套接字创建基于对话框类的FTP工具。主要功能是在网络上的FTP服务器上,实现单线程下载,能够实现文件上传功能。-use Socket created based on the type dialog FTP tools. Its main function is on the network FTP server, the thread to achieve the download, upload documents to achieve functional.
Platform: | Size: 241131 | Author: 林林 | Hits:

[Internet-Networkcmpp

Description: linux平台下CMPP3.0和CMPP2.0的服务器和客户端,源码采用多线程,tcp下socket通信来实现的cmpp协议,经过测试,通俗简单易懂,是测试的好工具,也可以自己修改来满足自己的需求-Linux platform under CMPP3.0 and CMPP2.0 server and client, the source code using multi-threaded, socket communications to achieve the CMPP protocol, after testing, easy to understand, is a good tool to test, can also be modified to meet their own needs Linux platform CMPP3.0 and CMPP2.0 server and client, the source code using multi thread, socket TCP communication to achieve the CMPP protocol, after testing, easy to understand, is a good tool for testing, but also to meet their own needs
Platform: | Size: 55296 | Author: 刘波 | Hits:

[Internet-NetworkMY-SOCKET

Description: MFC中各个Dialog之间的传值、添加会话框以及Listcontrl的使用。     并从父窗体弹出的子窗体回弹到原来的父窗体,只需要使用CDialog::onOK() 方法即可,因为模态弹出的对话框具有阻塞性,若是使用新定义的对象再进行DoModal() 方法,反而会出错,即会又重新出现了新的窗体,虽然是一样的窗体,但是内容和值都不再存在。     Updatedata()方法可以实现窗体和函数内参数值的传递。     进行CString.Format() 函数的学习,参照C语言,学习 d, c和 s等的使用 Socket通信分为客户端和服务器端,我们这次要做的就是基于MFC的CSocket类的,因为诸如像线程的开辟、调度、回收和释放等工作,MFC都帮我们封装好了,可以不用我们去管;     2.SQL Server所用的端口号应该避开应用程序会占用的端口号,并且服务器端的端口号是指定的,而客户端接收消息的端口号是随意分配的;     3.在服务器端Listen以后,客户端才会有Connect,然后服务器的onaccept接收后会去建立连接,在服务器端要保存客户端的一个Socket对象,还有一点就是onaccept不在主窗体中写了,而是在服务器中做,相当于一个while(1)的死循环,反复不断的判断有没有建立连接。-Dialog between the transfer value of each MFC, add the Session box and Listcontrl use. And the pop-up form the parent subform rebound to its original parent form, just use CDialog :: onOK () method can, because modal dialog box that has obstructive, if the use of the new definition of the object then DoModal () method, but to be wrong, that will reappear a new form, though the form is the same, but the content and the values ​ ​ are no longer present. Updatedata () method can achieve transfer form and function internal reference value. Conduct CString.Format () function study, referring to the C language, learning d, c and s like to use Socket Communications is divided into client and server side, this time we have to do is MFC-based CSocket class, because such like thread open, scheduling, recovery and release work, MFC have helped us a good package, can not we to manage 2.SQL Server port number should be used to avoid the application takes the port number and t
Platform: | Size: 3927040 | Author: 曾小丽 | Hits:

[Documentssocket

Description: 写入用“插座”线程通信以建立要求的服务器和客户端具有发送和接收信息的功能的Java应用程序,由服务器发送到客户端的信息是“NII”没有,客户端接收该信息后,变更它为“东软信息科学”,然后发送到服务器。-Written to use socket thread communication to establish a Java application that requires the server and client have the function of sending and receiving information, the information sent by the server to the client is NII No, Client after receiving the information, change it to Neusoft information Science , and then sent to the server.
Platform: | Size: 1024 | Author: 李佳 | Hits:

[CommunicationSocket-network-programing

Description: 工程演示了socket的基本函数使用,其实不管有多复杂的网络程序,都使用的这些基本函数。功能是只有处理完一个客户端请求才会去处理下一个客户端的请求,这样的服务器处理能力是很弱的,现实中的服务器都需要有并发处理能力!为了需要并发处理,服务器需要fork()一个新的进程或者线程去处理请求等-Engineering demonstrates the basic functions of the socket, in fact, no matter how complex the network program, are using these basic functions. Function is only a client request to deal with a request to deal with the next client, so that the server processing power is very weak, the reality of the server need to have concurrent processing power! In order to require concurrent processing, the server needs fork () a new process or thread to handle requests
Platform: | Size: 32768 | Author: chenyawei | Hits:

[CSharpmulti-thread-simple-crawler-socket

Description: 简单的爬虫功能,socket线程。满足基本的功能,想学习爬虫的同学,可以下载参考。(Simple crawler function, socket thread)
Platform: | Size: 454656 | Author: 甘红梅 | Hits:

[GUI DevelopThMyThSock

Description: Base thread socket network communication
Platform: | Size: 1024 | Author: titiAard | Hits:

[Windows DevelopSocketAsyncServerAndClient

Description: 这是一个高效的异步服务器和客户端的实现,用线程池的使用保证了稳定运行,拿来即可用,(This is an efficient asynchronous server and client implementation, with the use of thread pool to ensure a stable operation, easy to use)
Platform: | Size: 111616 | Author: tan133 | Hits:

[Delphi VCLioctlsocket

Description: 一个delphi中用多种模式socket的示例,包括: 1、阻塞单线程 2、阻塞多线程 3、非阻塞模式 4、Select模式 5、WSAAsynSelect模式 6、IOCP模式 7、UPD通讯 非常经典!(An example of using multiple patterns of Delphi in socket, including: 1, blocking single thread 2, blocking multithreading 3, non blocking mode 4, Select mode 5, WSAAsynSelect mode 6, IOCP mode 7, UPD communication is very classic!)
Platform: | Size: 287744 | Author: hsanming | Hits:

[Linux-Unixnewproject

Description: 实现网络数据收发,串口数据收发,线程的创建使用,文件操作,链表操作(To achieve network data transceiver, serial data transceiver, thread creation, use, file operation, linked list operation)
Platform: | Size: 118784 | Author: 心碎无尘 | Hits:

[JSP/Javalimengjie

Description: java socket单线程通信,可以作为课程设计(Java socket single thread communication, which can be used as a course design)
Platform: | Size: 10240 | Author: Nishino | Hits:

[OtherSocket

Description: 本书是学习Java语言的入门教材。全书从Java语言的基本特点入手,详细介绍了Java语言的基本概念和编程方法,同时深入介绍了Java的高级特性。本书共分为12章,涉及Java中的基本数据类型、基本语法、类的概念及特性、异常处理、用户界面设计、小应用程序、输入/输出操作及线程等内容。java_socket(This book is an introductory textbook for learning the Java language. The book begins with the basic features of the Java language, introduces the basic concepts and programming methods of the Java language in detail, and introduces the advanced features of the Java. The book is divided into 12 chapters, involving basic data types in Java, basic syntax, class concept and characteristics, exception handling, user interface design, small application, input / output operation and thread content.java_socket)
Platform: | Size: 411648 | Author: 微弱的阳光 | Hits:

[Internet-NetworkSelectEx_

Description: 实现了一个基于Socket编程的聊天室,服务器端采用的Select模型,客户端开启接收线程,并用环形缓冲区处理了粘包问题(A chat room based on Socket programming is realized, the Select model is used on the server side, the client opens the receiving thread, and the sticky problem is handled with the ring buffer)
Platform: | Size: 146432 | Author: mmmh7 | Hits:
« 1 2 3 4 5 6 7 89 10 11 12 13 ... 20 »

CodeBus www.codebus.net